<?php
	
	if(strtolower($_POST['username']) == "simone" && $_POST['password'] == "123mudar" || strtolower($_POST['username']) == "lilian" && $_POST['password'] == "123mudar"){
		
		session_start();
		$_SESSION['USERLOGGED'] = 1;
		$_SESSION['NAMEUSERLOGGED'] = strtoupper($_POST['username']);
		$_SESSION['ADMINLOGGED'] = 1;
		header("location: ../../index.php?option=into&view=frontpage");
		
	}else{
		
		header("location: ../../index.php?option=into&view=login&error=1");
	
	}
	
?>